{% extends "pages/body.html" %}
{% load i18n %}
{% block content %}
{% trans "As a registered user you will have full access to comments and forum. Registration isn't however required to browse this site content." %}
<ul>
<li>{% trans "If you are a new user you can" %} <a href="/user/register/"><b>{% trans "register" %}</b></a> {% trans "using a simple form" %}.</li>
<li>{% trans "If you forgotten your password, then you can" %} <a href="/user/password_reset/"><b>{% trans "reset it" %}</b></a>.</li>
</ul>

{% if form.errors %}
<div class="errmsg">{% trans "Your username and password didn't match. Please try again." %}</div>
{% endif %}

<form method="post" action="/user/login/">
<table>
<tr><th colspan="2">{% trans "Standard login" %}</th></tr>
<tr><td style="width:30%;"><label for="id_username">{% trans "Username" %}:</label></td><td>{{ form.username }}</td></tr>
<tr><td><label for="id_password">{% trans "Password" %}:</label></td><td>{{ form.password }}</td></tr>
<tr><td></td><td><input type="submit" value="{% trans "Login" %}"></td></tr>
</table>
<input type="hidden" name="next" value="{{ next }}" />
</form>
<br />
<form method="post" action="/openid/">
<table>
<tr><th colspan="2">{% trans "OpenID" %}</th></tr>
<tr><td style="width:30%;"><label for="openid_url"><img src="/site_media/layout/openid.png" alt="openID" /></label></td><td><input class="openid" type="text" name="openid_url" id="openid_url"></td></tr>
<tr><td></td><td><input type="submit" value="{% trans "Login" %}"></td></tr>
</table>
</form>
{% endblock %}
{% block crumb %}<a href="/">{% trans "Home" %}</a> > <a href="/user/">{% trans "User Panel" %}</a>{% endblock %}
{% block on_user %} id="current"{% endblock %}